<!--
 * @FileDescription 综合评价
 * @Author lz
 * @Date 20230724 14:16:47
 * @LastEditors lz
 * @LastEditTime 20230724 14:16:47
-->
<template>
  <div class="ComEva">
    <div class="ResultDetails-Option">
      <div class="ResultDetails-Option-Model" v-for="(item, index) in ResultDetailsOption" :key="index"
        @click="SelectOption(index)" :class="SelectOptionIndex === index ? 'SeleteOptionActive' : 'Noactive'">
        <span>{{ item.OptionName }}</span>
      </div>
    </div>
    <div class="ResultDetails-PersonalInformation">
      <div class="ResultDetails-PersonalInformation-Model" v-for="(item, index) in PersonalInformation" :key="index">
        <span>{{ item.Name }}</span>
        <span></span>
        <span>{{ item.value }}</span>
      </div>
    </div>
    <!-- 综合结果分析 -->
    <div v-show="SelectOptionIndex === 0">
      <!-- 雷达图面板 -->
      <div class="RadarChartPanel">
        <div class="radarStyle" id="main"></div>
      </div>

      <div class="ComprehensiveResultsPanel">
        <div class="NameText">
          详细得分点
        </div>
        <div>
          <div class="t1_r_list" v-for="(item, index) in HomeContent.Default.Synthetical.value.Veidoos" :key="index">
            <div class="scorePointName">
              {{ item.Name }}
            </div>
            <div class="SPF">
              {{ item.Result }}
            </div>
          </div>
        </div>
      </div>
      <div class="SFI">
        <div class="promotionProposal">
          <img src="/img/提示.png" alt="">
          提升建议
        </div>
        <div class="t1_b_cont">
          <div class="t1_b_list" v-for="(item, index) in HomeContent.Default.Synthetical.value.Suggest" :key="index">
            {{ index + 1 }}.{{ item }}
          </div>
        </div>
      </div>
    </div>
    <!-- 报告单 -->
    <div v-show="SelectOptionIndex === 1">
      <div class="Popup">
        <div class="package_box">
          <div class="contentBox">
            <div class="big_box_g">
              <div class="form_g" v-for="(item, index) in HomeContent.Default.workOrderSheet.value" :key="index">
                <div class="title_g BdBt">
                  {{ index + 1 }}.{{ item.Project }}(满分8.5分)
                </div>
                <div class="box_title_g BdBt">
                  <div class="Box1_g BdRt">序号</div>
                  <div class="Box2_g BdRt">作业类型+作业对象+作业内容</div>
                  <div class="Box3_g BdRt">数据或异常情况记录</div>
                  <div class="Box4_g">维修措施</div>
                </div>
                <div class="form_content" v-for="(item1, index1) in item.WorkContents" :key="index1">
                  <div class="context_box1 BdRt BdBt">
                    <span class="parameter_g">{{ item1.Serial }}</span>
                  </div>
                  <div class="context_box2 BdRt BdBt">
                    <span class="parameter_g">{{ item1.WorkType }}</span>
                  </div>
                  <div class="context_box3">
                    <div class="small_box BdBt" v-for="(item2, index2) in item1.WorkContents" :key="index2">
                      <div class="small_box1 BdRt">
                        <span class="parameter_g">{{ item2.WorkContent }}</span>
                      </div>
                      <div class="small_box2 BdRt">
                        <div v-for="(item3, index3) in item2.DataList" :key="index3" style="display: flex">
                          <div class="spacing">
                            <div v-if="item3.Type == '0'">{{ item3.Item }}</div>
                            <div v-if="item3.Type == '1'">{{ item3.Item }}</div>
                            <span v-if="item3.Type == '1' && item3.Resule == true">{{
                              item3.WorkValue
                            }}</span>
                            <span v-if="item3.Type == '1' && item3.Resule == false" style="color: #ff0606;">{{
                              item3.WorkValue
                            }}</span>
                            <span v-if="item3.Type == '1'">{{ item3.Unit }}</span>
                          </div>
                          <div class="gap" v-for="(item4, index4) in item3.Item.split(',')" :key="index4"
                            v-if="item3.Type == '2'">
                            <div v-if="item3.WorkValue == item4">
                              <img class="TFImg" src="/img/checkbox(1).png" v-if="item3.Resule" />
                              <img class="TFImg falsePic" src="/img/错误.png" v-else />
                              {{ item4 }}
                            </div>
                            <div v-else>
                              <img class="TFImg" src="/img/checkbox(2).png" />
                              {{ item4 }}
                            </div>
                          </div>
                        </div>
                      </div>
                      <div class="small_box3">
                        <span></span>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- 评分表 -->
    <div v-show="SelectOptionIndex === 2">
      <div class="Popup">
        <div class="package_box">
          <div class="contentBox">
            <div class="title_box">
              {{ HomeContent.Default.resultInfo.value.Record.RatingForm.Name || "评分表" }}
              <img src="/img/ic_up_small.png" class="retract_img" @click="retract" v-if="state.retract" />
              <img src="/img/ic_down_small.png" class="retract_img" @click="retract" v-else />
            </div>
            <div class="BasicInformation" v-show="state.retract">
              <div class="Basi_unit BOR BN">
                <span class="unit_tit">选手参赛号</span>
                <div class="unit_inp">
                  {{ HomeContent.Default.resultInfo.value.Orders.OrderBase.Id || "" }}
                </div>
              </div>
              <div class="Basi_unit BOR">
                <span class="unit_tit">裁判签字</span>
                <div class="unit_inp"></div>
              </div>
              <div class="Basi_unit BOR">
                <span class="unit_tit">裁判长审判</span>
                <div class="unit_inp"></div>
              </div>
              <div class="Basi_unit BOR BN">
                <span class="unit_tit">统分裁判签字</span>
                <div class="unit_inp"></div>
              </div>
              <div class="Basi_unit BOR">
                <span class="unit_tit">裁判签字</span>
                <div class="unit_inp"></div>
              </div>
              <div class="Basi_unit BOR">
                <span class="unit_tit">监督仲裁签字</span>
                <div class="unit_inp"></div>
              </div>
              <div class="Basi_unit BOR BN">
                <span class="unit_tit">车辆信息登记</span>
                <div class="unit_inp"></div>
              </div>
              <div class="Basi_unit BOR">
                <span class="unit_tit">比赛时长</span>
                <div class="unit_inp">
                  {{
                    formatSeconds(HomeContent.Default.resultInfo.value.Orders.OrderBase.Time)
                  }}
                </div>
              </div>
              <div class="Basi_unit BOR">
                <span class="unit_tit">实际用时</span>
                <div class="unit_inp">
                  {{
                    formatSeconds(
                      HomeContent.Default.resultInfo.value.Orders.OrderBase.UseTime
                    )
                  }}
                </div>
              </div>
            </div>
            <div class="big_box_p">
              <div class="form_p" v-for="(item, index) in HomeContent.Default.ratingForm.value" :key="index">
                <div class="title_p BdBt">
                  {{ index + 1 }}.{{ item.Project }}
                </div>
                <div class="box_title_p BdBt">
                  <div class="Box1 BdRt">序号</div>
                  <div class="Box2 BdRt">作业内容</div>
                  <div class="Box3 BdRt">
                    评分要点（各竞赛环节漏项或累计最多扣相应配分）
                  </div>
                  <div class="Box4 BdRt">配分</div>
                  <div class="Box5 BdRt">扣分</div>
                  <div class="Box6">判罚依据</div>
                </div>
                <div class="form_content_p BdBt" v-for="(item1, index1) in item.EvaluateGroupModels" :key="index1">
                  <div class="Box1 BdRt">
                    <span class="parameter_p">{{ item1.Serial }}</span>
                  </div>
                  <div class="Box2 BdRt">
                    <span class="parameter_p">{{ item1.Stage }}</span>
                  </div>
                  <div class="Box3 BdRt list">
                    <div style="margin: 5px 0" v-for="(item2, index2) in item1.Items" :key="index2">
                      <div v-if="item2.Result">
                        <img src="/img/checkbox(2).png" />
                        {{ item2.Description }}
                      </div>
                      <div v-else-if="!item2.Result">
                        <img class="unfinished" src="/img/未完成.png">
                        {{ item2.Description }}
                      </div>
                      <div v-else-if="item2.StepId == 0" style="color: #9bfb4e;">
                        {{ item2.Description }}（软件中未考核此项）
                      </div>
                    </div>
                  </div>
                  <div class="Box4 BdRt">
                    <span class="parameter_p">
                      <!-- {{ item1.Share }} -->
                      {{ parseFloat(item1.Share.toFixed(1)) }}
                    </span>
                  </div>
                  <div class="Box5 BdRt">
                    <!-- <span class="parameter_p">{{ item1.Score }}</span> -->
                    <span class="parameter_p">{{ parseFloat((item1.Share - item1.Score).toFixed(1)) }}</span>
                  </div>
                  <div class="Box6">
                    <span class="parameter_p"></span>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- 故障修复记录 -->
    <div v-show="SelectOptionIndex === 3">
      <div class="t4_l">
        <div class="moduleName">
          <div class="MN_I">
            <img src="/img/diagnosticDetails/ic_结果分析.png">
          </div>
          <div class="NameText">
            故障点统计
          </div>
        </div>
        <div class="FPSBox">
          <div class="fpsTxtTotal">
            设置 {{ HomeContent.Default.FaultRepair.value.Total }} 个故障点
          </div>
        </div>
        <div class="FPSBox">
          <img src="/img/diagnosticDetails/checkbox_answer.png" class="smp" />
          <div class="fpsTxt">
            修复成功 {{ HomeContent.Default.FaultRepair.value.Fixed }} 个故障点
          </div>
        </div>
        <div class="FPSBox">
          <img src="/img/diagnosticDetails/checkbox_incomplete.png" class="smp" />
          <div class="fpsTxt">
            未修复 {{ HomeContent.Default.FaultRepair.value.Wontfix }} 个故障点
          </div>
        </div>
        <div class="FPSBox">
          <img src="/img/diagnosticDetails/checkbox_wrong.png" class="smp" />
          <div class="fpsTxt">
            修复错误 {{ HomeContent.Default.FaultRepair.value.Error }} 个故障点
          </div>
        </div>
      </div>
      <div class="t4_r">
        <div class="moduleName">
          <div class="MN_I">
            <img src="/img/diagnosticDetails/ic_故障点记录.png">
          </div>
          <div class="NameText">
            故障记录
          </div>
        </div>
        <div class="t4_content">
          <div class="t4_list" :class="item.State == 0 ? 't4_l_1' : item.State == 2 ? 't4_l_2' : ''"
            v-for="(item, index) in HomeContent.Default.FaultRepair.value.Items" :key="index">
            <div class="t4_listText" style="width:80%;">
              {{ item.Name }}
            </div>
            <div class="t4_list_ico" v-if="item.State == 0">
              <img src="/img/diagnosticDetails/checkbox_incomplete.png">
            </div>
            <div class="t4_list_type" style="color: #B0B0B0;" v-if="item.State == 0">
              未修复
            </div>
            <div class="t4_list_ico" v-if="item.State == 1">
              <img src="/img/diagnosticDetails/checkbox_answer.png">
            </div>
            <div class="t4_list_type" style="color: #42CB6E;" v-if="item.State == 1">
              修复正确
            </div>
            <div class="t4_list_ico" v-if="item.State == 2">
              <img src="/img/diagnosticDetails/checkbox_wrong.png">
            </div>
            <div class="t4_list_type" style="color: #FB4E4E;" v-if="item.State == 2">
              修复错误
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive, onMounted } from "vue";
import * as echarts from "echarts";
import HomeContent from "../HomeContent";
const SelectOptionIndex = ref(0)
const ResultDetailsOption = ref([
  {
    OptionName: "综合结果分析"
  },
  {
    OptionName: "报告单"
  },
  {
    OptionName: "评分表"
  },
  {
    OptionName: "故障修复记录"
  }
])
//个人信息
const PersonalInformation = ref([
  {
    Name: "任务",
    // value: props.ResultDetails.trainingTaskName
    // value: sessionStorage.getItem("TaskTitle")
    value: HomeContent.Default.taskName.value
  },
  {
    Name: "姓名",
    // value: props.ResultDetails.userName
    // value: sessionStorage.getItem("StudentName")
    value: HomeContent.Default.player.value
  },
  {
    Name: "总用时",
    value: FNumToDate(HomeContent.Default.resultInfo.value.UsedTime)
  },
  {
    Name: "总得分",
    value: HomeContent.Default.resultInfo.value.Score
  }
])
function FNumToDate(seconds) {
  let hour: any = Math.floor(seconds / 3600) >= 10 ? Math.floor(seconds / 3600) : '0' + Math.floor(seconds / 3600);
  seconds -= 3600 * hour;
  let min: any = Math.floor(seconds / 60) >= 10 ? Math.floor(seconds / 60) : '0' + Math.floor(seconds / 60);
  seconds -= 60 * min;
  let sec = seconds >= 10 ? seconds : '0' + seconds;
  return hour + ':' + min + ':' + sec;
}
const state = reactive({
  retract: true,
  current: 1,
  visible: false,
  ListTypes: 0,
  values: <any>[],
  DPN: 1,
});
const activeKey = ref("1");
let option: any;
option = {
  tooltip: {
    trigger: "axis",
  },
  legend: {
    left: "center",
    top: 'center',
    data: [],
    // itemWidth: 100,
    // itemHeight: 100,
  },
  radar: [
    {
      indicator: [
        { text: HomeContent.Default.Synthetical.value.Veidoos[0].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[1].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[2].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[3].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[4].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[5].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[6].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[7].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[8].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[9].Name, max: 100 },
        { text: HomeContent.Default.Synthetical.value.Veidoos[10].Name, max: 100 },
      ],
      radius: '55%',
      name: {
        textStyle: {
          fontSize: '16px'
        }
      }
    },
  ],
  series: [
    {
      type: "radar",
      tooltip: {
        trigger: "item",
      },
      itemStyle: {
        color: "#d6ebba",
        borderColor: "#d6ebba",
      },
      areaStyle: {},
      data: [
        {
          value: [
            (HomeContent.Default.Synthetical.value.Veidoos[0].Result/HomeContent.Default.Synthetical.value.Veidoos[0].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[1].Result/HomeContent.Default.Synthetical.value.Veidoos[1].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[2].Result/HomeContent.Default.Synthetical.value.Veidoos[2].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[3].Result/HomeContent.Default.Synthetical.value.Veidoos[3].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[4].Result/HomeContent.Default.Synthetical.value.Veidoos[4].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[5].Result/HomeContent.Default.Synthetical.value.Veidoos[5].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[6].Result/HomeContent.Default.Synthetical.value.Veidoos[6].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[7].Result/HomeContent.Default.Synthetical.value.Veidoos[7].Total)*100,
            '100',
            (HomeContent.Default.Synthetical.value.Veidoos[9].Result/HomeContent.Default.Synthetical.value.Veidoos[9].Total)*100,
            (HomeContent.Default.Synthetical.value.Veidoos[10].Result/HomeContent.Default.Synthetical.value.Veidoos[10].Total)*100,
          ],
          name: "结果分析",
        },
      ],
    },
  ],
};
//选择哪个模块
function SelectOption(index) {
  SelectOptionIndex.value = index
}
async function returnBtn() {
  console.log("返回");
}
//秒数转化为时分秒
function formatSeconds(value: any) {
  if (value == null) {
    return "";
  }
  //@ts-ignore
  let secondTime = parseInt(value); // 秒
  let minuteTime = 0; // 分
  let hourTime = 0; // 小时
  if (secondTime > 60) {
    //如果秒数大于60，将秒数转换成整数
    //获取分钟，除以60取整数，得到整数分钟
    //@ts-ignore
    minuteTime = parseInt(secondTime / 60);
    //获取秒数，秒数取余，得到整数秒数
    //@ts-ignore
    secondTime = parseInt(secondTime % 60);
    //如果分钟大于60，将分钟转换成小时
    if (minuteTime > 60) {
      //获取小时，获取分钟除以60，得到整数小时
      //@ts-ignore
      hourTime = parseInt(minuteTime / 60);
      //获取小时后取余的分，获取分钟除以60取余的分
      //@ts-ignore
      minuteTime = parseInt(minuteTime % 60);
    }
  }
  //@ts-ignore
  var result = "" + parseInt(secondTime) + "秒";

  if (minuteTime > 0) {
    //@ts-ignore
    result = "" + parseInt(minuteTime) + "分" + result;
  }
  if (hourTime > 0) {
    //@ts-ignore
    result = "" + parseInt(hourTime) + "小时" + result;
  }
  // console.log("result11111", result);
  // HomeContent.Default.AllTime.value = result;
  return result;
}
// 收起
function retract() {
  state.retract = !state.retract;
}

onMounted(async () => {
  let chartDom = document.getElementById("main");
  chartDom!.style.width = '600px'; // 动态设置宽度  
  chartDom!.style.height = '600px'; // 动态设置高度 
  let myChart = echarts.init(chartDom);
  myChart.setOption(option, true);
  console.log(
    "HomeContent.Default.ratingForm.value333333: ",
    // HomeContent.Default.ratingForm.value
  );
  console.log(
    "HomeContent.Default.workOrderSheet.value",
    // HomeContent.Default.workOrderSheet.value
  );
  console.log(
    "HomeContent.Default.Synthetical.value.Veidoos",
    HomeContent.Default.Synthetical.value.Veidoos
  );

  // ===========
  console.log('73?????????',HomeContent.Default.resultInfo.value);
  
});
</script>

<style scoped>
.ComEva {
  width: 100%;
  /* height: 95vh; */
  height: 62vh;
  position: absolute;
  left: 0;
  top: 5vh;
  background: #ffffff;
  z-index: 2;
}

.col_r {
  /* width: 1520px; */
  width: 100%;
  height: 946px;
  background: #ffffff;
  box-shadow: 0px 20px 80px 0px rgba(179, 189, 185, 0.2);
  position: absolute;
  right: 0;
  /* bottom: 40px; */
  /* border-radius: 40px 0 0 40px; */
}

.col_l {
  position: absolute;
  left: 40px;
  bottom: 184px;
  width: 320px;
  height: 700px;
  background: #ffffff;
  border-radius: 40px 40px 40px 40px;
  text-align: center;
}

.ret_btn {
  width: 128px;
  height: 52px;
  border-radius: 6px 6px 6px 6px;
  opacity: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 40px;
  bottom: 60px;
}

.retract_img {
  float: right;
  width: 24px;
  margin-top: 16px;
  margin-right: 16px;
}

.ret_txt {
  font-size: 20px;
  font-weight: 500;
  color: #202020;
  line-height: 48px;
}

.ret_ico {
  width: 28px;
  margin-top: -9px;
  margin-right: 12px;
  margin-left: 24px;
}

:deep().ant-tabs-tab:nth-child(1) {
  margin-left: 40px !important;
}

.tabBox {
  margin-top: 48px;
}

:deep().ant-tabs-tab-btn {
  font-size: 20px;
  font-weight: 600;
  color: #b0b0b0;
}

:deep().ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
  color: #000000;
}

:deep().ant-tabs-ink-bar {
  background-color: #000000;
}

.t1_l {
  width: 700px;
  height: 500px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  float: left;
  margin-left: 40px;
  margin-top: 30px;
}

.t1_r {
  width: 700px;
  height: 500px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-left: 40px;
  margin-top: 30px;
  float: left;
}

.t1_b {
  width: 1440px;
  height: 218px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  float: left;
  margin-left: 40px;
  margin-top: 40px;
}

.t1_b_cont {
  margin: 0 auto;
  width: 96%;
  height: 150px;
  overflow-y: auto;
}

.t1_b_list {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  margin: 10px;
}

.name_box {
  font-size: 24px;
  font-weight: bold;
  color: #202020;
  padding-top: 40px;
}

.congratulations {
  font-size: 14px;
  font-weight: 400;
  color: #5e5e5e;
  margin-top: 8px;
}

.score {
  font-size: 16px;
  font-weight: 400;
  color: #b0b0b0;
  margin-top: 48px;
}

.fraction {
  margin-top: 16px;
  font-size: 78px;
  font-weight: 600;
  color: #000000;
}

.line {
  width: 280px;
  height: 1px;
  background-color: #f0f0f0;
  margin: 10px auto;
}

.bottomBox {
  width: 100%;
  overflow: hidden;
  font-size: 16px;
  color: #202020;
}

.parameterBox {
  width: 50%;
  float: left;
}

.par_tit {
  margin-top: 48px;
  font-weight: 400;
  color: #b0b0b0;
}

.par_cont {
  font-weight: bold;
  margin-top: 20px;
}

.moduleName {
  overflow: hidden;
}

.MN_I {
  float: left;
  width: 24px;
  margin-top: 40px;
  margin-left: 40px;
}

.MN_I>img {
  width: 100%;
}

/* .NameText {
  float: left;
  font-size: 20px;
  font-weight: 500;
  color: #202020;
  margin-top: 38px;
  margin-left: 10px;
} */

.t4_l {
  /* width: 500px; */
  width: 600px;
  height: 764px;
  background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-top: 30px;
  margin-left: 40px;
  float: left;
}

.addTxt {
  float: left;
  font-size: 16px;
  font-weight: 400;
  color: #b0b0b0;
  padding-left: 20px;
}

.t4_r {
  /* width: 900px; */
  width: 1000px;
  height: 764px;
  /* background: linear-gradient(180deg, #f4f4f4 0%, rgba(240, 241, 254, 0) 100%); */
  background: linear-gradient(180deg, #f6f8fc 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-top: 30px;
  margin-left: 40px;
  float: left;
}

.FPSBox {
  overflow: hidden;
  margin: 24px 0 48px 0;
}

.circle {
  float: left;
  width: 72px;
  height: 72px;
  background: #000000;
  border-radius: 40px 40px 40px 40px;
  font-size: 24px;
  font-weight: bold;
  line-height: 72px;
  color: #9bfb4e;
  text-align: center;
  margin-left: 72px;
}

.fpsTxt {
  float: left;
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  padding-left: 4px;
}

.t4_content {
  width: 840px;
  height: 636px;
  margin: 0 auto;
  margin-top: 20px;
  overflow-y: auto;
}

.Existing {
  color: rgba(26, 26, 26, 1);
  width: 655px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.t4_list {
  width: 820px;
  height: 72px;
  background: linear-gradient(90deg,
      rgba(155, 251, 78, 0.1) 0%,
      rgba(155, 251, 78, 0.07) 58%,
      rgba(155, 251, 78, 0) 100%);
  border-radius: 8px 8px 8px 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

::-webkit-scrollbar {
  width: 6px;
  height: 1px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #dfe1e8;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #f8f8f8;
}

.t4_listText {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  margin-left: 16px;
  margin-right: 16px;
  text-align: start;
}

.t4_list_ico {
  width: 24px;
  margin-right: 6px;
}

.t4_list_ico>img {
  width: 100%;
}

.t1_r_list {
  overflow: hidden;
  margin-top: 20px;
}

.scorePointName {
  font-size: 16px;
  font-weight: 400;
  color: #5e5e5e;
  float: left;
  margin-left: 40px;
}

.SPF {
  font-size: 16px;
  font-weight: 600;
  color: #202020;
  float: right;
  margin-right: 126px;
}

#main {
  width: 400px;
  height: 400px;
  /* margin: 0 auto; */
  margin: -40px auto;
}

.t4_list_type {
  font-size: 16px;
}

.t4_l_1 {
  background: transparent;
}

.t4_l_2 {
  background: linear-gradient(90deg,
      rgba(251, 78, 78, 0.1) 0%,
      rgba(251, 78, 78, 0.07) 58%,
      rgba(251, 78, 78, 0) 100%);
}

.Popup {
  /* width: 1520px; */
  width: 100%;
  height: 800px;
  border-radius: 16px 16px 16px 16px;
}

.contentBox {
  border: 2px solid #e8ecf4;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.form_content_unit {
  width: 100%;
  min-height: 64px;
  position: relative;
  overflow: hidden;
}

.form_content_unit_tit {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.form_content_unit_list {
  width: 137%;
  float: left;
  height: 64px;
  line-height: 64px;
}

.rep_T1 {
  width: 26%;
}

.rep_T2 {
  width: 54%;
}

.content_unit_tit {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translate(0, -50%);
}

.title_box {
  height: 62px;
  line-height: 62px;
  font-size: 20px;
  font-weight: 600;
  padding-left: 10px;
  color: #000;
}

.BasicInformation {
  width: 100%;
  height: 168px;
}

.Basi_unit {
  float: left;
  width: 33.333%;
  height: 56px;
  text-align: left;
}

.BOR {
  border-top: 1px solid #e8ecf4;
  border-left: 1px solid #e8ecf4;
}

.BN {
  border-left: none;
}

.unit_tit {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 56px;
  padding-left: 16px;
  font-weight: 600;
}

.unit_inp {
  width: 300px;
  height: 56px;
  outline: none;
  font-size: 16px;
  border: none;
  float: right;
  margin-right: 16px;
  line-height: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.package_box {
  overflow-y: auto;
  height: 764px;
  padding-right: 20px;
  margin: 0 40px;
  margin-top: 6px;
  color: #000;
}

.package_box::-webkit-scrollbar {
  width: 6px;
  height: 1px;
}

.package_box::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #dfe1e8;
}

.package_box::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #f8f8f8;
}

.Form_box {
  width: 100%;
}

.tit_box {
  width: 100%;
  height: 42px;
  background-color: #f7f8fb;
}

.form_tit {
  float: left;
  text-align: center;
  line-height: 42px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.unit_list_box {
  float: left;
  margin-left: 26%;
}

:deep().ant-pagination {
  margin-top: 10px;
  margin-left: 40px;
}

.fpsTxtTotal {
  width: 420px;
  height: 42px;
  background: linear-gradient(90deg,
      rgba(155, 251, 78, 0.1) 0%,
      rgba(155, 251, 78, 0.07) 58%,
      rgba(155, 251, 78, 0) 100%);
  border-radius: 8px 0px 0px 8px;
  font-size: 16px;
  font-weight: 600;
  margin-left: 40px;
  line-height: 42px;
  padding-left: 20px;
  margin-top: 20px;
}

.smp {
  width: 24px;
  height: 24px;
  float: left;
  margin-left: 60px;
}

/* 评分表样式 */

.big_box_p {
  min-height: 800px;
  border-top: 1px solid #e8ecf4;
}

.form_p {
  min-height: 200px;
}

.title_p {
  width: 100%;
  height: 50px;
  font-size: 20px;
  font-weight: 600;
  line-height: 50px;
  background: #f7f8fb;
}

.box_title_p {
  display: flex;
  font-size: 20px;
  text-align: center;
  height: 40px;
  line-height: 40px;
}

.form_content_p {
  width: 100%;
  font-size: 16px;
  display: flex;
  min-height: 64px;
}

.parameter_p {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: black;
}

.list {
  display: grid;
  margin-left: 0;
}

.BdBt {
  border-bottom: 1px solid #e8ecf4;
}

.BdRt {
  border-right: 1px solid #e8ecf4;
}

.Box1 {
  width: 8%;
  position: relative;
}

.Box2 {
  width: 13%;
  position: relative;
  text-align: center;
}

.Box3 {
  width: 53%;
  padding-left: 16px;
  text-align: left;
}

.Box4 {
  width: 8%;
  position: relative;
}

.Box5 {
  width: 8%;
  position: relative;
}

.Box6 {
  width: 10%;
  position: relative;
}

/* 工单样式 */
.big_box_g {
  min-height: 800px;
  border-top: 1px solid #e8ecf4;
}

.form_g {
  min-height: 10px;
}

.title_g {
  width: 100%;
  height: 50px;
  font-size: 20px;
  font-weight: 600;
  line-height: 50px;
  background: #f7f8fb;
  padding-left: 16px;
}

.box_title_g {
  display: flex;
  font-size: 15.5px;
  font-weight: 600;
  text-align: center;
  height: 40px;
  line-height: 40px;
}

.Box1_g {
  width: 8%;
  position: relative;
}

.Box2_g {
  width: 44%;
  position: relative;
}

.Box3_g {
  width: 40%;
}

.Box4_g {
  width: 8%;
  position: relative;
}

.form_content {
  width: 100%;
  font-size: 16px;
  display: flex;
}

.parameter_g {
  width: fit-content;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: black;
}

.context_box1 {
  width: 8%;
  text-align: center;
  position: relative;
}

.context_box2 {
  width: 8%;
  text-align: center;
  position: relative;
}

.context_box3 {
  width: 84%;
}

.small_box {
  display: flex;
}

.small_box1 {
  width: 42.9%;
  position: relative;
}

.small_box2 {
  width: 47.6%;
  padding-left: 16px;
}

.small_box3 {
  width: 9.5%;
}

.spacing {
  display: flex;
  margin-top: 12px;
}

.gap {
  display: flex;
  margin-top: 8px;
  margin-bottom: 12px;
}

/* 新 */
.SeleteOptionActive {
  background: linear-gradient(-90deg, #0974d8, #3d8ef1, #7c7ff8) !important;
  color: #FFFFFF;
}

.Noactive {
  background: rgba(129, 133, 156, 0.1);
}

.ResultDetails-Option {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ResultDetails-Option-Model {
  width: 160px;
  height: 40px;
  background: rgba(129, 133, 156, 0.2);
  font-size: 18px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ResultDetails-Option>div:nth-child(1) {
  border-radius: 20px 0px 0px 20px;
}

.ResultDetails-Option>div:nth-last-child(1) {
  border-radius: 0px 20px 20px 0px;
}

.ResultDetails-PersonalInformation {
  width: 100%;
  height: 10%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px 1px 0px 0px rgba(129, 133, 156, 0.2);
}

.ResultDetails-PersonalInformation-Model {
  width: 33%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ResultDetails-PersonalInformation-Model>span:nth-child(1) {
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: #81859C;
}

.ResultDetails-PersonalInformation-Model>span:nth-child(2) {
  width: 2px;
  height: 16px;
  margin-left: 20px;
  background: #218CDE;
}

.ResultDetails-PersonalInformation-Model>span:nth-child(3) {
  margin-left: 20px;
  font-size: 20px;
  font-family: Source Han Sans CN;
  font-weight: 400;
  color: #81859C;
}

.RadarChartPanel {
  position: absolute;
  margin-left: 100px;
  margin-top: 10px;
  width: 35%;
  /* height: 55%; */
  height: 75%;
}

.ComprehensiveResultsPanel {
  position: absolute;
  right: 150px;
  margin-top: 10px;
  width: 35%;
  /* height: 55%; */
  height: 75%;
}

.NameText {
  float: left;
  font-size: 20px;
  font-weight: 500;
  color: #202020;
  margin-top: 37px;
  margin-left: 10px;
  width: 80%;
  text-align: left;
}

.promotionProposal {
  float: left;
  font-size: 20px;
  font-weight: 500;
  color: #202020;
  margin-top: 37px;
  margin-left: -16px;
  width: 12%;
  text-align: left;
  background: linear-gradient(180deg, #7683ee 0%, #4679e1 100%);
  padding-left: 50px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.t1_r_list {
  overflow: hidden;
  /* margin-top: 20px; */
  margin-top: 12px;
  float: left;
  width: 100%;
}

.scorePointName {
  font-size: 16px;
  font-weight: 400;
  color: #5E5E5E;
  float: left;
  margin-left: 40px;
}

.SPF {
  font-size: 16px;
  font-weight: 600;
  color: #202020;
  float: right;
  margin-right: 126px;
}

.SFI {
  position: absolute;
  /* bottom: 0; */
  bottom: -150px;
  width: 96%;
  height: 20%;
  margin-left: 1%;
  padding-left: 1%;
  /* background: linear-gradient(180deg, #F0F1FE 0%, rgba(240, 241, 254, 0) 100%); */
  background: linear-gradient(180deg, #f6f8fc 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
}

.t1_b_cont {
  margin: 0 auto;
  width: 96%;
  height: 120px;
  overflow-y: auto;
  text-align: left;
}

.t1_b_list {
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  margin: 10px;
}

.t4_l {
  width: 600px;
  height: 700px;
  /* background: linear-gradient(180deg, #F0F1FE 0%, rgba(240, 241, 254, 0) 100%); */
  background: linear-gradient(180deg, #f6f8fc 0%, rgba(240, 241, 254, 0) 100%);
  border-radius: 40px 40px 40px 40px;
  margin-top: 30px;
  margin-left: 40px;
  float: left;
}

.moduleName {
  overflow: hidden;
}

.MN_I {
  float: left;
  width: 24px;
  margin-top: 40px;
  margin-left: 40px;
}

.MN_I>img {
  width: 100%;
}

.FPSBox {
  overflow: hidden;
  margin: 24px 0 48px 0;
}

.fpsTxtTotal {
  width: 227px;
  height: 42px;
  /* background: linear-gradient(90deg,
      rgba(155, 251, 78, 0.1) 0%,
      rgba(155, 251, 78, 0.07) 58%,
      rgba(155, 251, 78, 0) 100%); */
  background: linear-gradient(-90deg, #0974d8, #3d8ef1, #7c7ff8) !important;
  border-radius: 8px 0px 0px 8px;
  font-size: 16px;
  font-weight: 600;
  margin-left: -4px;
  line-height: 42px;
  /* padding-left: 20px; */
  margin-top: 20px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

.fpsTxt {
  float: left;
  height: 72px;
  line-height: 72px;
  font-size: 16px;
  font-weight: 400;
  color: #202020;
  margin-left: 16px;
}

.smp {
  width: 24px;
  height: 24px;
  float: left;
  margin-left: 60px;
  margin-top: 24px;
}

.TFImg {
  width: 24px;
  height: 24px;
}

.radarStyle {
  font-size: 36px;
}

.unfinished {
  margin-left: 3px;
}
.falsePic {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}
/* 新 */
</style>
